from register import gen_registers
from inst import gen_PR_IDs
from address import gen_bases
from constant import build_constant_register, gen_ram_coe_file
from func import build_functions, gen_rom_coe_file, gen_func_address, gen_func_stack_capacity

if __name__ == '__main__':
    # init
    build_constant_register()
    build_functions()

    # gen coe
    gen_ram_coe_file()
    gen_rom_coe_file()

    # gen defines
    gen_registers()
    print()
    gen_func_address()
    print()
    gen_func_stack_capacity()
    print()
    gen_PR_IDs()
    print()
    gen_bases()
